package com.smarttest.portal.service;

import com.smarttest.common.beans.JsonDataResult;

public interface RuleService {
  public JsonDataResult createRule(String indexName,String ruleNamem,String ruleBody);
  public JsonDataResult getRuleByParameter(String indexName,String ruleName);
  public JsonDataResult updateRule(String indexName,String ruleName,String ruleBody,String modifiedRuleName);
  public JsonDataResult getValidRuleByParameter(String indexName);
}
